package com.goods.business.service;

import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface SupplierService {
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, String name, String contact, String address);

    void addSupplier(Supplier supplier);

    Supplier editSupplier(Long id);

    void updateSupplier(Supplier supplier);

    void deleteSupplier(Long id);

    List<Supplier> findAll();
}
